const settings = {
    state: {
        store_system_config: JSON.parse(sessionStorage.getItem('yunhua-admin-theme'))
    },
    mutations: {
        SET_STORE_SYSTEM_CONFIG: (state, store_system_config) => {
            state.store_system_config = store_system_config;
        }
    },
    actions: {
        StoreSystemConfig({ commit }, store_system_config) {
            commit('SET_STORE_SYSTEM_CONFIG', store_system_config);
        }
    }
};

export default settings;